import {
  get,
  post,
  //postForm,
  del
} from '@/utils/http'
const packageName = `/back-api`
/*
获取鱼档案
**/
export function getObjFish(params) {
  return get(`${packageName}/objFish/getObjFish`, params)
}
/*
获取鱼档案列表
**/
export function getObjFishList(params) {
  return get(`${packageName}/objFish/getObjFishList`, params)
}
/**
 * 获取全部鱼档案
 */
export function getObjFishs(params) {
  return get(`${packageName}/objFish/getObjFishs`, params)
}
/**
 * 保存鱼档案
 * **/
export function saveObjFish(params) {
  return post(`${packageName}/objFish/saveObjFish`, params)
}
// 获取全部鱼类型
export function getObjFishTypes(params) {
  return get(`${packageName}/ObjFishType/getObjFishTypes`, params)
}
//删除全部鱼档案
export function delObjFish(params) {
  return del(`${packageName}/objFish/delObjFish`, params)
}
//获取鱼批次列表
export function getObjFishBatchList(params) {
  return get(`${packageName}/objFishBatch/getObjFishBatchList`, params)
}
//获取鱼批次列表
export function getObjFishBatch(params) {
  return get(`${packageName}/objFishBatch/getObjFishBatch`, params)
}
//保存鱼批次列表
export function saveObjFishBatch(params) {
  return post(`${packageName}/objFishBatch/saveObjFishBatch`, params)
}
//删除全部鱼档案
export function delObjFishBatch(params) {
  return del(`${packageName}/objFishBatch/delObjFishBatch`, params)
}
// 获取鱼类型列表
export function getObjFishTypeList(params) {
  return get(`${packageName}/ObjFishType/getObjFishTypeList`, params)
}
// 获取鱼类型
export function getObjFishType(params) {
  return get(`${packageName}/ObjFishType/getObjFishType`, params)
}
//保存鱼批次列表
export function saveObjFishType(params) {
  return post(`${packageName}/ObjFishType/saveObjFishType`, params)
}
//获取鱼池列表
export function getObjFishpondList(params) {
  return get(`${packageName}/objFishpond/getObjFishpondList`, params)
}
//获取鱼池
export function getObjFishpond(params) {
  return get(`${packageName}/objFishpond/getObjFishpond`, params)
}
//删除鱼池
export function delObjFishpond(params) {
  return del(`${packageName}/objFishpond/delObjFishpond`, params)
}
//保存鱼池
export function saveObjFishpond(params) {
  return post(`${packageName}/objFishpond/saveObjFishpond`, params)
}
//获取鱼池详情列表
export function getObjFishpondDetailList(params) {
  return get(`${packageName}/objFishpondDetail/getObjFishpondDetailList`, params)
}
//获取鱼池详情
export function getObjFishpondDetail(params) {
  return get(`${packageName}/objFishpondDetail/getObjFishpondDetail`, params)
}
//保存鱼池详情
export function saveObjFishpondDetail(params) {
  return post(`${packageName}/objFishpondDetail/saveObjFishpondDetail`, params)
}
//删除鱼池
export function delObjFishpondDetail(params) {
  return del(`${packageName}/objFishpondDetail/delObjFishpondDetail`, params)
}
//获取出入库类型列表
export function getObjInOutTypeList(params) {
  return get(`${packageName}/objInOutType/getObjInOutTypeList`, params)
}
//获取出入库类型
export function getObjInOutType(params) {
  return get(`${packageName}/objInOutType/getObjInOutType`, params)
}
//保存出入库类型
export function saveObjInOutType(params) {
  return post(`${packageName}/objInOutType/saveObjInOutType`, params)
}
//获取车辆详情列表
export function getObjCarList(params) {
  return get(`${packageName}/objCar/getObjCarList`, params)
}
// 获取全部车辆
export function getObjCars(params) {
  return get(`${packageName}/objCar/getObjCars`, params)
}
//获取车辆详情
export function getObjCar(params) {
  return get(`${packageName}/objCar/getObjCar`, params)
}
//删除车辆详情
export function delObjCar(params) {
  return del(`${packageName}/objCar/delObjCar`, params)
}
//保存车辆详情
export function saveObjCar(params) {
  return post(`${packageName}/objCar/saveObjCar`, params)
}
//获取目标地址列表
export function getObjAddressList(params) {
  return get(`${packageName}/objAddress/getObjAddressList`, params)
}
//获取目标地址详情
export function getObjAddress(params) {
  return get(`${packageName}/objAddress/getObjAddress`, params)
}
//删除目标地址详情
export function delObjAddress(params) {
  return del(`${packageName}/objAddress/delObjAddress`, params)
}
//保存目标地址详情
export function saveObjAddress(params) {
  return post(`${packageName}/objAddress/saveObjAddress`, params)
}
//获取卵径列表
export function getObjDiameterList(params) {
  return get(`${packageName}/objDiameter/getObjDiameterList`, params)
}
//获取卵径详情
export function getObjDiameter(params) {
  return get(`${packageName}/objDiameter/getObjDiameter`, params)
}
//删除卵径详情
export function delObjDiameter(params) {
  return del(`${packageName}/objDiameter/delObjDiameter`, params)
}
//保存卵径详情
export function saveObjDiameter(params) {
  return post(`${packageName}/objDiameter/saveObjDiameter`, params)
}

//获取单兵详情列表
export function getObjSoldierList(params) {
  return get(`${packageName}/objSoldier/getObjSoldierList`, params)
}
//获取单兵详情
export function getObjSoldier(params) {
  return get(`${packageName}/objSoldier/getObjSoldier`, params)
}
//删除单兵详情
export function delObjSoldier(params) {
  return del(`${packageName}/objSoldier/delObjSoldier`, params)
}
//保存单兵详情
export function saveObjSoldier(params) {
  return post(`${packageName}/objSoldier/saveObjSoldier`, params)
}
// 获取全部单兵(基地id)
export function getObjSoldiers(params) {
  return get(`${packageName}/objSoldier/getObjSoldiers`, params)
}
/**
 * 目标地址
 */
// 获取全部目标地址
export function getObjAddresss(params) {
  return get(`${packageName}/objAddress/getObjAddresss`, params)
}

/**
 * 车辆司机
 */
// 获取全部车辆司机(车辆id)
export function getObjCarDrivers(params) {
  return get(`${packageName}/objCarDriver/getObjCarDrivers`, params)
}
/**
 * 卵径
 */
// 获取全部卵径
export function getObjDiameters(params) {
  return get(`${packageName}/objDiameter/getObjDiameters`, params)
}
// 获取全部鱼池
export function getObjFishponds(params) {
  return get(`${packageName}/objFishpond/getObjFishponds`, params)
}

//获取车辆司机详情列表
export function getObjCarDriverList(params) {
  return get(`${packageName}/objCarDriver/getObjCarDriverList`, params)
}
//获取车辆司机详情（车辆id）
export function getObjCarDriver(params) {
  return get(`${packageName}/objCarDriver/getObjCarDriver`, params)
}
//删除车辆司机详情
export function delObjCarDriver(params) {
  return del(`${packageName}/objCarDriver/delObjCarDriver`, params)
}
//保存车辆司机详情
export function saveObjCarDriver(params) {
  return post(`${packageName}/objCarDriver/saveObjCarDriver`, params)
}
//删除鱼类型
export function delObjFishType(params) {
  return del(`${packageName}/ObjFishType/delObjFishType`, params)
}
//删除鱼类型
export function delObjInOutType(params) {
  return del(`${packageName}/objInOutType/delObjInOutType`, params)
}
//获取历史数据图表（同比，环比）
export function getNumericalDataCharts(params) {
  return get(`${packageName}/dataHisSwitch/getNumericalDataCharts`, params)
}
//获取公司基地列表
export function getSysCompanyBaseList(params) {
  return get(`${packageName}/sysCompanyBase/getSysCompanyBaseList`, params)
}
//获取能耗历史数据图表（同比，环比）
export function getEnergyDataCharts(params) {
  return get(`${packageName}/dataHisSwitch/getEnergyDataCharts`, params)
}
//获取鱼池投料图表（同比，环比）
export function getDataHisFeederAnalysis(params) {
  return get(`${packageName}/dataHisFeeder/getDataHisFeederAnalysis`, params)
}
export function getDataHisFeeder(params) {
  return get(`${packageName}/dataHisFeeder/getDataHisFeeder`, params)
}
//获取鱼池投料图表（同比，环比）
export function saveDataHisFeeder(params) {
  return post(`${packageName}/dataHisFeeder/saveDataHisFeeder`, params)
}
